package com.shuihu.springcloud.service;

import com.shuihu.springcloud.service.fallback.AdminServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author shuihu
 * @create 2020-05-31 18:44
 */

@FeignClient(value = "itoken-service-admin",fallback = AdminServiceImpl.class)
public interface AdminService {

    @GetMapping("/admin/login")
    public String login();
}
